home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / corelib / ncbilcl.msc < prev    next >
Text File  |  1996-07-05  |  4KB  |  125 lines

  1. /*   ncbilcl.h
  2. * ===========================================================================
  3. *
  4. *                            PUBLIC DOMAIN NOTICE
  5. *               National Center for Biotechnology Information
  6. *
  7. *  This software/database is a "United States Government Work" under the
  8. *  terms of the United States Copyright Act.  It was written as part of
  9. *  the author's official duties as a United States Government employee and
  10. *  thus cannot be copyrighted.  This software/database is freely available
  11. *  to the public for use. The National Library of Medicine and the U.S.
  12. *  Government have not placed any restriction on its use or reproduction.
  13. *
  14. *  Although all reasonable efforts have been taken to ensure the accuracy
  15. *  and reliability of the software and data, the NLM and the U.S.
  16. *  Government do not and cannot warrant the performance or results that
  17. *  may be obtained by using this software or data. The NLM and the U.S.
  18. *  Government disclaim all warranties, express or implied, including
  19. *  warranties of performance, merchantability or fitness for any particular
  20. *  purpose.
  21. *
  22. *  Please cite the author in any work or product based on this material.
  23. *
  24. * ===========================================================================
  25. *
  26. * File Name:  ncbilcl.h
  27. *
  28. * Author:  Gish, Kans, Ostell, Schuler
  29. *
  30. * Version Creation Date:   1/1/91
  31. *
  32. * $Revision: 2.6 $
  33. *
  34. * File Description:
  35. *        system dependent header
  36. *        MS-DOS version
  37. *
  38. * Modifications:
  39. * --------------------------------------------------------------------------
  40. * Date     Name        Description of modification
  41. * -------  ----------  -----------------------------------------------------
  42. *
  43. * ==========================================================================
  44. */
  45. #ifndef _NCBILCL_
  46. #define _NCBILCL_
  47.  
  48. /* PLATFORM DEFINITION FOR MS-DOS UNDER Microsoft C */
  49.  
  50. #define COMP_MSC
  51. #define OS_DOS
  52. #define PROC_I80X86
  53. #define WIN_DUMB
  54. #define MSC_VIRT
  55.  
  56. /*----------------------------------------------------------------------*/
  57. /*      Desired or available feature list                               */
  58. /*----------------------------------------------------------------------*/
  59.  
  60. /*----------------------------------------------------------------------*/
  61. /*      #includes                                                       */
  62. /*----------------------------------------------------------------------*/
  63. #include <sys\types.h>
  64. #include <limits.h>
  65. #include <sys\stat.h>
  66. #include <stddef.h>
  67. #include <stdio.h>
  68. #include <ctype.h>
  69. #include <string.h>
  70. #include <malloc.h>
  71. #include <memory.h>
  72. #include <stdlib.h>
  73. #include <math.h>
  74. #include <errno.h>
  75. #include <float.h>
  76.  
  77. #ifdef MSC_VIRT
  78. #include <vmemory.h>   /* use MSC virtual memory */
  79. #endif
  80.  
  81. /*----------------------------------------------------------------------*/
  82. /*      Missing ANSI-isms                                               */
  83. /*----------------------------------------------------------------------*/
  84. #ifndef FILENAME_MAX
  85. #define FILENAME_MAX 63
  86. #endif
  87.  
  88. /*----------------------------------------------------------------------*/
  89. /*      Aliased Logicals, Datatypes                                     */
  90. /*----------------------------------------------------------------------*/
  91.  
  92. /*----------------------------------------------------------------------*/
  93. /*      Misc Macros                                                     */
  94. /*----------------------------------------------------------------------*/
  95. #define PROTO(x)        x              /* Function prototypes are real */
  96. #define VPROTO(x) x   /* Prototype for variable argument list */
  97. #define DIRDELIMCHR     '\\'
  98. #define DIRDELIMSTR     "\\"
  99. #define CWDSTR          "."
  100.  
  101. #define KBYTE           (1024)
  102. #define MBYTE           (1048576L)
  103.  
  104. #define IS_LITTLE_ENDIAN
  105.  
  106. #define TEMPNAM_AVAIL
  107. #ifndef tempnam
  108. #define tempnam _tempnam
  109. #endif
  110.  
  111. /*----------------------------------------------------------------------*/
  112. /*      Macros for Floating Point                                       */
  113. /*----------------------------------------------------------------------*/
  114. #define EXP2(x) exp((x)*LN2)
  115. #define LOG2(x) (log(x)*(1./LN2))
  116. #define EXP10(x) exp((x)*LN10)
  117. #define LOG10(x) (log10(x))
  118.  
  119. /*----------------------------------------------------------------------*/
  120. /*      Macros Defining Limits                                          */
  121. /*----------------------------------------------------------------------*/
  122. #define MAXALLOC    0x10000 /* Largest permissible memory request */
  123.  
  124. #endif
  125.